package com.aplana.ccsd.model;

import java.util.List;

/**
 * Модельный класс для просмотра последних статей
 */
public class RecentArticles {

	private final List<Article> recentArticles;
	private final String allArticlesURL;
	private final String title;
	private final String allArticlesUrlTitle;

	public RecentArticles(List<Article> recentArticles, String allArticlesURL,
			String title, String allArticlesUrlTitle) {
		this.recentArticles = recentArticles;
		this.allArticlesURL = allArticlesURL;
		this.title = title;
		this.allArticlesUrlTitle = allArticlesUrlTitle;
	}

	public List<Article> getRecentArticles() {
		return recentArticles;
	}

	public String getAllArticlesURL() {
		return allArticlesURL;
	}

	public String getTitle() {
		return title;
	}

	public String getAllArticlesUrlTitle() {
		return allArticlesUrlTitle;
	}

}
